@if (shouldRenderRow) {
  <div class="row entry-row">
    @if (customTitle) {
      <ng-content select="abp-page-title-container"></ng-content>
    } @else {
      @if (title) {
        <div class="col-auto" *abpPagePart="pageParts.title">
          <h1 class="content-header-title">
            {{ title }}
          </h1>
        </div>
      }
    }

    @if (customBreadcrumb) {
      <ng-content select="abp-page-breadcrumb-container"></ng-content>
    } @else {
      @if (breadcrumb) {
        <div class="col-lg-auto ps-lg-0" *abpPagePart="pageParts.breadcrumb">
          <abp-breadcrumb></abp-breadcrumb>
        </div>
      }
    }

    @if (customToolbar) {
      <ng-content select="abp-page-toolbar-container"></ng-content>
    } @else {
      @if (toolbarVisible) {
        <div class="col" *abpPagePart="pageParts.toolbar; context: toolbarData">
          <abp-page-toolbar [record]="toolbarData"></abp-page-toolbar>
        </div>
      }
    }
  </div>
}

<ng-content></ng-content>
